public class Person {
    private int id, age;
    private String name;
    private Hand hand;
    public Person(){};
    public Person(int id, String name, int age, Hand hand)
    {
        this.id = id;
        this.name = name;
        this.age = age;
        this.hand = hand;
    }
    public String getName()
    {
        return this.name;
    }
    public void showPerson()
    {
        System.out.println("身份证号：" + this.id);
        System.out.println("姓名：" + this.name);
        System.out.println("年龄：" + this.age);
        System.out.println("手：" + this.hand);
    }
    public void saySth(Person name, String msg)
    {
        System.out.print(this.name + "对" + name.name + "说" + msg);
    }
    public void catchSth(Hand hand, String thing)
    {
        System.out.print(this.name);
        hand.Catch(thing);
    }
    public void startCar(Car car, String brand)
    {
        car.Starting(brand);
    }
}
